'''
Created on 06/04/2009

@author: Edward
'''
from Queue import PriorityQueue

class TimerServiceQueue(object):
    '''
    classdocs
    '''

    __queue = None

    def __init__(self):
        self.__queue = PriorityQueue()
        
    def put(self, timestamp, event):
        self.__queue.put((timestamp, event))
    
    def get(self):
        return self.__queue.get()        
        